Traffic Shaping System Calls Using Threading by Appointment

نویسندگان

  • Christoph M. Kirsch
  • Harald Röck
چکیده

Threading by Appointment (TAP) is a concurrent programming model that combines automatic stack management (thread-based) with system call queueing (event-driven). However, unlike conventional threads, TAP threads invoke system calls by appointment only, and, unlike events, appointments have a duration, which is determined by the TAP runtime system transparently through a POSIX-compliant interface. The TAP mechanism essentially implements system call queueing using a given TAP policy that consists of a strategy to make appointments, i.e., enqueue system calls, and a logical clock to begin and end appointments, i.e., dequeue system calls. We propose a TAP policy that resembles traffic shaping in network routers, where system calls are treated as network packets. The policy distinguishes system calls for network and disk I/O, and gives priority to system calls invoked by short-running, interactive threads rather than long-running, bulk threads. We have implemented a high-performance, user-space TAP library and benchmarked the library using a multi-threaded, POSIX-compliant web server.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Threading by Appointment

We propose a concurrent programming model called threading-by-appointment (TAP). Unlike traditional threads, TAP threads can only communicate with system components or other threads by appointment. For example, a TAP thread cannot simply try to access some shared resource. Instead, a TAP thread must make an appointment with the shared resource in advance. Only at the time of the appointment, th...

متن کامل

Issn 1330-3651

Subject review Emergency traffic management calls for integration of strategies covering advanced information collecting/disseminating fallibilities, and effective message broadcast system. Approximate "permanent" alternate routes combining intelligent transportation system measures could objectively play a vital role in supporting the category of specific congestion alleviation and incident ma...

متن کامل

Providing Conformance of the Negotiated QoS using Traffic Conditioning for Heterogeneous Services in WCDMA Radio Access Networks

In order to provide negotiated QoS to the end users in next generation mobile networks, a traffic conditioner may be deployed to provide conformance of a service agreement. The traffic conditioning is performed by traffic shaping or/and policing. A framework of applying traffic conditioning in radio access network is proposed in this paper. The main idea of our traffic conditioning approach is ...

متن کامل

The implementation of a call-back system reduces the doctor's workload, and improves accessibility by telephone in general practice.

BACKGROUND In a general practice in The Netherlands, the demand for direct telephone consultation with the doctor became extreme, which resulted in poorly managed consultations, and poor telephone access due to busy lines. A call-back telephone appointment system was therefore introduced: all calls are answered and, when possible, managed by the practice assistant. If the assistant feels incapa...

متن کامل

SkypeMorph: Protocol Obfuscation for Censorship Resistance

The Tor network is designed to provide users with low-latency anonymous communication. Tor clients build circuits with publicly listed relays to anonymously reach their destinations. Low-latency anonymous communication is also an essential property required by censorship circumvention tools and thus Tor has been widely used as a censorship resistance tool. However, since the Tor relays are publ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005